#include "stdafx.h"
#include "Event.h"

typedef struct {
	u_int type;
	string value;
}PatientEvent;


int serializePatientEvent(PatientEvent event, char* buffer);
int deserializePatientEvent(char* buffer, PatientEvent *event);
int getPatientBufferSize(PatientEvent event);